// 获取文章列表
import myAxios from "@/plugins/axios.js";

export function getArticlePageList(data) {
    return myAxios.post("/article/page", data)
}

// 获取分类-文章列表
export function getCategoryArticlePageList(data) {
    return myAxios.post("/article/category/page", data)
}

// 获取标签下文章列表
export function getTagArticlePageList(data) {
    return myAxios.post("/article/tag/page", data)
}

// 获取文章详情
export function getArticleDetail(articleId) {
    return myAxios.post("/article/details", {articleId})
}